/*
 * ServerRecord.h
 *
 *  Created on: Nov 5, 2011
 *      Author: zhouzhao
 */

#ifndef SERVERRECORD_H_
#define SERVERRECORD_H_

#include <string>
using namespace std;

class ServerRecord {

private:
	unsigned int userid;
	string username;
	string password;
	string ipaddr;
	string portnum;
	bool login;

public:
	ServerRecord();
	virtual ~ServerRecord();
	void setUsername(string username);
	string getUsername(void);
	void setPassword(string password);
	string getPassword(void);
	void setIPAddr(string ipaddr);
	string getIPAddr(void);
	void setPortNum(string portnum);
	string getPortNum(void);

	void setLogin(bool login);
	bool getLogin(void);

	void setUserID(unsigned int userid);
	unsigned int getUserID(void);
};

#endif /* SERVERRECORD_H_ */
